<?php

namespace app\admin\business;

use app\model\UserModel;

class User
{
    public $userObj = null;

    public function __construct()
    {
        $this->userObj = new UserModel();
    }

    public function getUserById($id)
    {
        $user = $this->userObj->getUserById($id);
        return $user;
    }
}